package xiaodou.events.blogAccount
{
	import flash.events.Event;
	
	import xiaodou.data.blogAccount.BlogAccountData;
	
	public class BlogAccountEvent extends Event
	{
		public static const UPDATE:String = "BlogAccountEvent.update";
		public static const CURRENT_BLOG_CHANGED:String = "BlogAccountEvent.currentBlogChanged";
		public static const DELETE:String = "BlogAccountEvent.delete";
		public static const ADD:String = "BlogAccountEvent.add";
		
		/**
		 * 微博帐号 
		 */		
		public var blogAccount:BlogAccountData;
		
		public function BlogAccountEvent(type:String, blogAccount:BlogAccountData, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.blogAccount = blogAccount;
		}
		
		override public function clone():Event
		{
			return new BlogAccountEvent(type, blogAccount, bubbles, cancelable);
		}
	}
}